package com.xrkj.b2c.view;


/**
 * @description ztree树节点视图对象
 * @author 赵子靖
 * @since 2018年07月15日
 */
public class ZTreeView {

    private String id;
    private String name;
    private String pId;
    private String icon;
    private boolean open = false;
    private boolean isParent;
    private String type;//类型
    private String attr1;//自定义属性1
    private String attr2;//自定义属性2
    private int attr3;//自定义属性3
    private int attr4;//自定义属性4
    private int canSelected = 1;//是否可选择 1:可选，0不可选 默认可选

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public boolean getIsParent() {
        return isParent;
    }

    public void setIsParent(boolean isParent) {
        this.isParent = isParent;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAttr1() {
        return attr1;
    }

    public void setAttr1(String attr1) {
        this.attr1 = attr1;
    }

    public String getAttr2() {
        return attr2;
    }

    public void setAttr2(String attr2) {
        this.attr2 = attr2;
    }

    public int getAttr3() {
        return attr3;
    }

    public void setAttr3(int attr3) {
        this.attr3 = attr3;
    }

    public int getAttr4() {
        return attr4;
    }

    public void setAttr4(int attr4) {
        this.attr4 = attr4;
    }

    public int getCanSelected() {
        return canSelected;
    }

    public void setCanSelected(int canSelected) {
        this.canSelected = canSelected;
    }

}
